<template>
	<el-checkbox-group v-bind="$attrs" :size="size">
		<el-checkbox v-for="item in options" :key="item.value" :label="item.value">
			{{ item.label }}
		</el-checkbox>
	</el-checkbox-group>
</template>
<script>
export default {
	name: "exCheckBox",
	components: {},
	props: {
		size: {type: String, default: "default"},//"" | "default" | "small" | "large" 
		dictCode: {type: String, default: null},
		priKey: {type: Boolean, default: false},
	},
	data() {
		return {
			options: [],
		};
	},
	async mounted() {
		this.options = await this.$cache.dic.options(this.dictCode, this.priKey);
	},
	methods: {}
}
</script>、
